package com.wx.disparent.mallparent.entity;


import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Set;


@AllArgsConstructor
@NoArgsConstructor
public class UserEntity {
    private Integer id;              //用户ID
    private String username;//用户名
    private String passwd;//密码
    private String realName;//真实姓名
    private String phone;//手机号码
    private String email;//邮箱地址
    private String alipayNum;//支付宝帐号
    private String alipayName;//支付宝账户名
    private String wechatNum;//微信帐号
    private String wechatName;//微信账户名
    private String bankcardNum;//银行卡帐号
    private String bankcardName;//银行卡账户名
    private String bankcardType;//银行卡户行

    private String backcardName ; //开卡行名称
    private BigDecimal sumWelfareMoney ; //我的收益

    public BigDecimal getSumWelfareMoney() {
        return sumWelfareMoney;
    }

    public void setSumWelfareMoney(BigDecimal sumWelfareMoney) {
        this.sumWelfareMoney = sumWelfareMoney;
    }

    public String getBankcardType() {
        return bankcardType;
    }

    public void setBankcardType(String bankcardType) {
        this.bankcardType = bankcardType;
    }

    public String getBackcardName() {
        return backcardName;
    }

    public void setBackcardName(String backcardName) {
        this.backcardName = backcardName;
    }

    public String getAlipayNum() {
        return alipayNum;
    }

    public void setAlipayNum(String alipayNum) {
        this.alipayNum = alipayNum;
    }

    public String getAlipayName() {
        return alipayName;
    }

    public void setAlipayName(String alipayName) {
        this.alipayName = alipayName;
    }

    public String getWechatNum() {
        return wechatNum;
    }

    public void setWechatNum(String wechatNum) {
        this.wechatNum = wechatNum;
    }

    public String getWechatName() {
        return wechatName;
    }

    public void setWechatName(String wechatName) {
        this.wechatName = wechatName;
    }

    public String getBankcardNum() {
        return bankcardNum;
    }

    public void setBankcardNum(String bankcardNum) {
        this.bankcardNum = bankcardNum;
    }

    public String getBankcardName() {
        return bankcardName;
    }

    public void setBankcardName(String bankcardName) {
        this.bankcardName = bankcardName;
    }



    private String lastLogin;//最后登录时间
    private Integer referId;//推荐人id
    private String problem;//安全问题
    private String  answer;//安全问题答案
    private Character userType;//用户类型
    private Set<RoleEntity> roles ;

    public Set<RoleEntity> getRoles() {
        return roles;
    }

    public void setRoles(Set<RoleEntity> roles) {
        this.roles = roles;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }


    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getLastLogin() {
        return lastLogin;
    }

    public void setLastLogin(String lastLogin) {
        this.lastLogin = lastLogin;
    }

    public Integer getReferId() {
        return referId;
    }

    public void setReferId(Integer referId) {
        this.referId = referId;
    }

    public String getProblem() {
        return problem;
    }

    public void setProblem(String problem) {
        this.problem = problem;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public Character getUserType() {
        return userType;
    }

    public void setUserType(Character userType) {
        this.userType = userType;
    }



    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }



}
